package org.example.entity;

import java.util.Date;

/**
 * @author zhaokuii11@163.com
 * @create 2021-11-21 15:04
 * @Description
 */
public class Student {
    private Integer sid;
    private String name;
    private Date birthday;
    private String address;

    public Student() {
    }

    public Student(Integer sid, String name, Date birthday, String address) {
        this.sid = sid;
        this.name = name;
        this.birthday = birthday;
        this.address = address;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", name='" + name + '\'' +
                ", birthday=" + birthday +
                ", address='" + address + '\'' +
                '}';
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
